package com.eb.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Table(name = "alsodetailed")
public class Alsodetailed {
    @Id
    private Long id;

    private Long userid;

    private Long helpid;

    private Long bid;

    private String goodsname;

    private BigDecimal alsoprice;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getHelpid() {
        return helpid;
    }

    public void setHelpid(Long helpid) {
        this.helpid = helpid;
    }

    public Long getBid() {
        return bid;
    }

    public void setBid(Long bid) {
        this.bid = bid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname == null ? null : goodsname.trim();
    }

    public BigDecimal getAlsoprice() {
        return alsoprice;
    }

    public void setAlsoprice(BigDecimal alsoprice) {
        this.alsoprice = alsoprice;
    }
}